<?php

namespace app\validate;

use think\Validate;

class OriginalPlanNodeValidate extends Validate
{
    // GetHistoryAbnormalEpisodeList 验证数据定义
    public function sceneGetHistoryAbnormalEpisodeList(): OriginalPlanNodeValidate
    {
        return $this->append([
            'param.entity_module_code' => 'require|in:episode,shot,asset',
            'param.project_id' => 'require|integer',
            'param.time_range' => 'require|array',
        ]);
    }

}
